WPDiscourse\Admin\NetworkOptions B

Total Complexity 76
Dependencies 0
Dependents 0
Total lines 996
Lines of code 741
Logical lines of code 178
Comment lines 165
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
network_config_notices()
B
38 23 67
setup()
A
31 1 191
save_network_settings()
S
51 7 27
input()
S
51 6 27
network_settings_details()
S
47 1 63
network_options_page()
S
52 2 30
use_discourse_webhook_checkbox()
S
52 2 28
validate_site_options()
S
61 3 12
checkbox_input()
S
53 2 25
use_discourse_user_webhook_checkbox()
S
55 2 22
api_key_input()
S
56 2 21
sso_secret_input()
S
57 2 18
webhook_secret_input()
S
57 2 18
get_site_option()
S
66 3 8
webhook_match_user_email_checkbox()
S
61 1 17
webhook_match_old_topics_checkbox()
S
61 1 17
hide_discourse_name_field_checkbox()
S
62 1 16
next_setting_heading()
S
67 2 10
publish_username_input()
S
63 1 14
multisite_configuration_checkbox()
S
63 1 13
verbose_publication_logs()
S
65 1 11
verbose_comment_logs()
S
65 1 11
verbose_webhook_logs()
S
65 1 11
connection_logs()
S
65 1 11
add_network_settings_page()
S
64 1 11
verbose_sso_logs()
S
66 1 10
enable_sso_client_checkbox()
S
63 1 10
sanitize_item()
S
80 1 3
enable_sso_provider_checkbox()
S
63 1 10
url_input()
S
78 1 3
__construct()
S
70 1 6